package com.pinyougou.sellergoods.service;

import com.github.pagehelper.PageInfo;
import com.pinyougou.pojo.TbBrand;

import java.util.List;

public interface BrandService {
    PageInfo<TbBrand> getAll(TbBrand tbBrand,int pageNum, int pageSize);
    List<TbBrand> findAll();

    TbBrand findById(long id);
    int addBrand(TbBrand tbBrand);

    int updateBrand(TbBrand tbBrand);

    int delete(List<Long> ids);
}
